const app = getApp();
Page({
  data: {
    sportDataAppid: app.sportData.appid,
    sportDataPath: app.sportData.path,
    xhx_images: app.xhx_images,
  },
  navigateToMiniProgram,
})

function navigateToMiniProgram(event) {
  const that = this;
  const appId = event.currentTarget.dataset.appid;
  const path = event.currentTarget.dataset.path;

  wx.navigateToMiniProgram({
    appId,
    path,
  })
}